package com.caiden_micheal.user.vo;

import com.caiden_micheal.base.dto.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Date;

@Data
public class RegisterVO extends BaseDomain {
    private Long id;
    private String username;
    private String password;
    private String phone;
    private String email;
    private String name;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date birth;
    private String wechat;
    private String qq;
    private Integer disabled;
    private Boolean remember;
    private Long time;
}
